﻿using FoodModel;
using J.FoodRepository.InterFace;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.FoodRepository.Impl
{
    public class RestaurantRepository : BackRepository<RestaurantModel>, IRestaurantRepository
    {
        public RestaurantRepository(ISqlSugarClient db) : base(db)
        {
        }
        /// <summary>
        /// 餐厅服务额度下拉框
        /// </summary>
        /// <returns></returns>
        public async Task<List<RestaurantModel>> RestaurantShow()
        {
            return await base.GetAllAsync(); 
        }
    }
}
